import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/theme-chalk/index.css'
import router from "@/router";
import * as ElementPlusIconsVue from '@element-plus/icons-vue'


// const instance = axios.create({
//     baseURL:'http://localhost:8080',
//     timeout:10000
// })



const app = createApp(App)
// app.config.globalProperties.$axios = instance
app.use(ElementPlus)
app.use(router)
app.mount('#app')
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}

